package com.jack.helloworld.fragment;


import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jack.helloworld.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class StaticFragment extends Fragment {

    TextView tvStaticFragment;


    public StaticFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View view = inflater.inflate(R.layout.fragment_static, container, false);
        tvStaticFragment = (TextView) view.findViewById(R.id.tvStaticFragment);
        tvStaticFragment.setText(R.string.static_fragment);

        return view;
    }

}
